<nz-layout>
  <app-page-header [pageHeaderInfo]="pageHeaderInfo"></app-page-header>
  <nz-content>
    <ng-container *ngIf="dataInform.type !==2">
      <nz-card [nzBordered]="false">
        {{dataInform.content}}<br/><br/>
        <nz-radio-group [(ngModel)]="radioValue" (ngModelChange)="changeRadio()">
          <label nz-radio *ngFor="let item of dataInform.questionOptions;index as i"
                 [nzValue]="item.sort">{{item.content}}</label>
        </nz-radio-group>
      </nz-card>
    </ng-container>
    <ng-container *ngIf="dataInform.type ===2">
      <nz-card [nzBordered]="false">
        {{dataInform.content}}<br/><br/>
        <nz-checkbox-group [(ngModel)]="checkOptions" (ngModelChange)="changeCheck(checkOptions)"></nz-checkbox-group>
      </nz-card>
    </ng-container>
    <nz-card [nzBordered]="false" nzTitle="整题解析:" *ngIf="isDisplay">
      {{dataInform.analysis|json}}
    </nz-card>
  </nz-content>
  <nz-footer>
    <button nz-button nzType="primary" (click)="nextNumber()" class="m-l-50 m-t-30">
      <i nz-icon nzType="right" nzTheme="outline"></i>继续下一题
    </button>
    <button (click)="returnToList()" class="m-l-50 m-t-30"><i nz-icon nzType="left" nzTheme="outline"></i>返回</button>
  </nz-footer>
</nz-layout>
